<?php

namespace app\admin\model;

use app\common\model\TimeModel;

class Goods extends TimeModel
{

    protected $name = "goods";

    protected $deleteTime = "delete_time";

    
    
    public function getStatusList()
    {
        return ['0'=>'禁用','1'=>'启用',];
    }

    // 在模型或控制器中
    public function form()
    {
        return [
            'content' => ['type' => 'editor']
        ];
    }

}